                                                 actor LMGGuy : RGAMonster
{
  spawnid 2
  obituary "%o was perforated by a LMG zombie."
  health 110
  radius 20
  height 56
  mass 100
  speed 8
  painchance 170
  seesound "chainguy/sight"
  attacksound "m240/fire"
  painsound "chainguy/pain"
  deathsound "chainguy/death"
  activesound "chainguy/active"
  dropitem "LMGSpawner" 32
  dropitem "LMGAmmo" 160
  DropItem "HandgunAmmo" 128
  Decal Bulletchip
  MONSTER
  +FLOORCLIP
  +MISSILEMORE
  states
  {
  Spawn:
    CPS2 A 0 
    CPS2 A 0 Thing_SetSpecial(0,226,613,0,random(12,24))
    CPS2 A 0 A_GiveInventory("XPAmount", random(12,24))
    POSS P 0 ACS_ExecuteAlways(651,0,0,0,0)
    CPS2 AB 10 A_Look
    goto Spawn+4
  See:
    CPS2 AABBCCDD 3 A_Chase
    loop
  Missile:
    CPS2 E 30 A_FaceTarget
    CPS2 FE 4 bright A_CustomBulletAttack(22.5, 0, 2, 6, "BulletPuff")
    CPS2 F 2 A_CPosRefire
    goto Missile+1
  Pain:
    CPS2 G 3
    CPS2 G 3 A_Pain
	TNT1 G 0 A_AlertMonsters
    goto See
  Death:
    CPS2 H 0
	CPS2 H 0 A_JumpIfHealthLower(random(-500,-110),"XDeath")
	CPS2 H 5
	CPS2 I 5 A_Scream
	CPS2 J 5 A_Fall
	CPS2 KLMNO 5
	CSP2 O 0 ACS_ExecuteAlways(648,0,0,0,0)
	CPS2 P -1 A_BossDeath
    CPS2 P -1 
    stop
XDeath:
	CPS2 Q 5 
	CPS2 R 5 A_XScream
	CPS2 S 5 A_Fall
	CPS2 S 0 ACS_ExecuteAlways(648,0,0,0,0)
	CPS2 TUVW 5
	CPS2 X -1
	Stop
  Raise:
    CPS2 NMLKJIH 5
    goto See
  }
}
